<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head th:include="css :: css">

</head>
<link href="/js/jquery.icheck/skins/square/blue.css" rel="stylesheet">
<link href="/css/custom.css" rel="stylesheet">
<body style="overflow: hidden;opacity: 1">

<div id="cl-wrapper" style="padding-top: 0">
    <div class="container-fluid" id="pcont">
        <div class="cl-mcont">
            <div class="row">
                <div class="col-md-12">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <h5>设置兔兔币工号密价</h5>
                        </div>
                        <div class="ibox-content">
                            <div class="row">

                                <form id="quickSetting">
                                    <div class="col-md-12 ">
                                        <dl class="dl-horizontal">
                                            <dt>销卡模板：</dt>
                                            <dd>
                                                <div class="col-sm-6" id="modelId">
                                                    <select class="form-control" id="supplyModel" name="userIds">
                                                        <option value="">销卡模板</option>
                                                    </select>
                                                </div>
                                            </dd>
                                            <dd>
                                                <div class="col-sm-12">
                                                    <span style="color: red">销卡模板和会员不可同时选择。</span>
                                                </div>
                                            </dd>
                                            <dt>搜索会员名称：</dt>
                                            <dd>
                                                <div class="col-sm-6" >
                                                    <input class="form-control" type="text" name="userAccount" id="userAccount"
                                                           placeholder="请输入会员编号">
                                                </div>
                                                <div class="col-sm-6"><span class="input-group-btn">
                                                    <button class="btn btn-primary" type="button"
                                                            id="searchUsers">搜索 </button>
                                                </span>
                                                </div>
                                            </dd>
                                            <dd>
                                                <div class="col-sm-12">
                                                    <span style="color: red">多个会员编号，以英文逗号隔开。 </span>
                                                </div>
                                            </dd>
                                            <dt>会员名称：</dt>
                                            <dd>
                                                <div class="col-sm-6" id="userSet">
                                                </div>
                                            </dd>
                                            <dt>运营商：</dt>
                                            <dd>
                                                <div class="col-sm-6" id="typeSet">
                                                    <label class="icheck" style="margin-right:10px;">
                                                        <input name="productTypes" type="checkbox" value="20"> 蜗牛兔兔币
                                                    </label>
                                                </div>
                                            </dd>
                                            <dt>操作状态：</dt>
                                            <dd>
                                                <div class="col-sm-6">
                                                    <select class="form-control " name="method" id="method" onchange="reloadDiscount(this)">
                                                        <option value="1">新增</option>
                                                        <option value="0">修改</option>
                                                        <option value="4">删除</option>
                                                    </select>
                                                </div>

                                            </dd>
                                            <dt>最小折扣：</dt>
                                            <dd>
                                                <div class="col-sm-6">
                                                    <input type="text" class="form-control" name="minPrice"
                                                            id="minPrice" placeholder="必须在0.5~1之间">
                                                </div>
                                            </dd>
                                            <dt>最大折扣：</dt>
                                            <dd>
                                                <div class="col-sm-6">
                                                    <input type="text" class="form-control" name="maxPrice"
                                                            id="maxPrice" placeholder="必须在0.5~1之间">
                                                </div>
                                            </dd>
                                        </dl>
                                        <div class="hr-line-dashed"></div>
                                        <div class=" col-md-4 col-md-offset-3">
                                            <button class="btn btn-info" type="button" id="formSubmit">提交设置</button>
                                        </div>
                                    </div>
                                </form>
                            </div>


                        </div>

                    </div>
                </div>
            </div>

        </div>
    </div>
</div>
<div th:include="js :: js"></div>
<script type="text/javascript" src="js/jquery.icheck/icheck.min.js"></script>
<script type="text/javascript" src="/js/pageJs/product/setWorkNumberPrice.js?deVersion=2018071301"></script>
<script>

    $('#checkAll').on('ifChecked', function (event) {
        $("#faceValueSet input").iCheck("check");
    });
    $('#checkAll').on('ifUnchecked', function (event) {
        $("#faceValueSet input").iCheck("uncheck");
    });
    $('#checkAllArea').on('ifChecked', function (event) {
        $("#areaSet input").iCheck("check");
    });
    $('#checkAllArea').on('ifUnchecked', function (event) {
        $("#areaSet input").iCheck("uncheck");
    });
</script>
</body>
</html>
